package sury.dal.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 管理员角色表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("tb_yb_admin_role")
public class AdminRoleEntity implements Serializable {
    /**
     * 管理员id
     */
    @TableField("admin_id")
    private Long adminId;

    /**
     * 角色id
     */
    @TableField("role_id")
    private Long roleId;
}
